package com.zizo.autohome.tfidf;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class TFUtil {
	public static final String getFilterData(String content) {
		String s = "!|！|\\{|\\}|（|）|\\(|\\)|\"|'|[；”“‘’：:\\[\\]【】。\\+\\——]|�|÷|→|※|∧|∥|∏|∑|√|∩|∪|∫|∮|☆|★|⊥|∷|∵|∨|⊙|□|▪|◎|〓|↑|〖|〗|＆|Ā|Ō|°|♀|☊ |々|「|」|￼|￣|\\*|・|ˇ|°|￥|￡|≈|≌|√|∠|∈|\\||∞|Š|Ū|Ǔ|Ò|Ê|=|\\d{6,}|、|\\?{3,}|▲|～|…{2,}|·|●|[A-Za-z]{6,}|―{3,}|◆|■|℃|%|％|\\.|￣|∀|｀|＾|］|⌒|＠{2,}|＄|＃|§| {3,}|﹏|　{2,}";
		Pattern p_1 = Pattern.compile(s);
		Matcher m_1 = p_1.matcher(content);
		String res_1 = m_1.replaceAll("");
		return res_1;
	}

}
